home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #2 / Ham Radio 2000 - Volume 2.iso / HAMV2 / HF / DXH52ENG / TIMER.TXT < prev    next >
Text File  |  1997-01-04  |  7KB  |  190 lines

  1.      THE TIMER PROGRAM.
  2.      With  the  TIMER.EXE application, you can program  DXHUNT's  automatic
  3.      connections  and  disconnections  to the DX CLUSTER, on  one  or  more
  4.      sessions;  sessions can be contiguous or disjuncted; for each  session
  5.      you  can  enable/disable  the alert and enable/disable the  filter  on
  6.      distant spots (see DXMAP.TXT for info about this filter).
  7.      In  a few words, you can program DXHUNT in a similar way to your Video
  8.      Tape Recorder !!!.
  9.      If  you  type TIMER with no options, at the DOS prompt, you'll  get  a
  10.      quick screen summary describing various options and samples.
  11.      If your needs result in forming a rather complex TIMER command string,
  12.      you can create a batch file containing that command string.
  13.      OPTIONS.  There  are only two options: /T and /M and two commands:  -A
  14.      and  -F. The /T option specifies the local (non UTC) start time (range
  15.      00:00  23:59), while /M specifies the session duration in minutes (max
  16.      1439).
  17.      If you specify just /T, without /M, the session duration is assumed to
  18.      be  unlimited;  if  you  specify just /M without /T,  the  session  is
  19.      started immediately, for the number of minutes specified in /M.
  20.      You can't omit both /T and /M options.
  21.      You  can  combine  both options with the -A or -F commands;  -A  means
  22.      means  disable  alert, -F means disable distant spot filter. If -A  is
  23.      omitted the alert function is enabled by default; if -F is omitted the
  24.      distant  spot  filter  is enabled by default if any country  has  been
  25.      declared as distant in DXMAP (see DXMAP.TXT), otherwise this filter is
  26.      always disabled.
  27.      You  must  respect a certain syntax to express your commands, or  they
  28.      will be misinterpreted.
  29.      Here you have some correct samples with their meanings.
  30.  
  31.      TIMER /T-A23:30 (start DXHUNT at 23:30, disabling alert, for unlimited
  32.      time).
  33.  
  34.      TIMER  /T-F00:00  (start  DXHUNT  at  00:00,  disabling  filter,   for
  35.      unlimited time).
  36.  
  37.      TIMER  /M120  (start  DXHUNT  now, enabling alert and  filter,  for  2
  38.      hours).
  39.  
  40.  
  41.      Here you have some wrong samples:
  42.  
  43.      TIMER /T-A11:30pm (wrong: "pm" is not allowed, use 23:30).
  44.  
  45.      TIMER /T-F24:00 (wrong: 24:00 is not allowed, use 00:00).
  46.  
  47.      TIMER /M1440 (wrong: maximum value for /M is 1439).
  48.  
  49.  
  50.      So the correct syntax is TIMER [/T[-A][-F]hh:mm] [/M[-A][-F]mmmm].
  51.      If   you  respect  this  syntax,  your  commands  will  be   correctly
  52.      interpreted.
  53.      The  commands  showed  above describe a single session,  but  you  can
  54.      define  up to 8 different sessions (contiguous and/or disjuncted) into
  55.      a single command line.
  56.      Two  sessions  are  contiguous when one starts immediately  after  the
  57.      other, with no discontinuity, otherwise they are disjuncted.
  58.      When  passing  from  one  session to a contiguous  one,  no  automatic
  59.      disconnection  is  performed; if the session are disjuncted  in  time,
  60.      DXHUNT automatically disconnects and connects at the stated times.
  61.  
  62.       TIMER.TXT page 1 
  63.  
  64.      To  specify  more sessions, just repeat /T and /M options in a  single
  65.      command line.
  66.  
  67.      Examples:
  68.  
  69.      TIMER  /T06:00  /M180  /T13:00  /M120  (this  command  means  start  a
  70.      connection  at  6  am,  keep  working  for 3  hours  till  9  am  then
  71.      disconnect; start a new connection at 1pm and keep working for 2 hours
  72.      till  3pm, then disconnect and wait the next day, till 6am, to start a
  73.      new connection...).
  74.  
  75.  
  76.      TIMER  /T06:00  /M180 /T-A13:00 /M120 (as above, but  disabling  alert
  77.      between 1 pm and 3 pm).
  78.  
  79.      TIMER /T06:00 /M60 /T-A07:00 /M60 (start DXHUNT at 6 am, disable alert
  80.      at 7 am and disconnect at 8 am; no disconnection is performed at 7:
  81.      the two sessions are contiguous).
  82.  
  83.      After these samples, I hope everything is clear.
  84.      Maybe  just an aspect is not (yet) clear: a command line is based on a
  85.      24  hours cycle, at any time it's executed; in the last sample if  the
  86.      command  is  executed  at 6:30 am, DXHUNT is started  immediately;  if
  87.      executed at 5:30 am, TIMER keeps the control till 6:00 am, when DXHUNT
  88.      is started; after 8:00 am, the control comes back to TIMER and is kept
  89.      till  6:00 am of the next day; of course you can break this chain,  by
  90.      quitting TIMER with Esc, or quitting DXHUNT with Alt-X.
  91.      You  see:  between two disjuncted sessions DXHUNT disconnects and  the
  92.      control  comes back to TIMER, but you can specify contiguous  sessions
  93.      for a 24h range, so that control never comes back to timer:
  94.  
  95.      TIMER /T08:40 /M560 /T-A18:00 /M880
  96.  
  97.      If  you  execute such a command at any time, DXHUNT  will  immediately
  98.      take  the  control;  the alert will be automatically  enabled  between
  99.      08:40  am  and 6:00 pm, disabled for the remaining period,  and  TIMER
  100.      will never regain the control.
  101.      Such a command type is useful if placed at the end of the AUTOEXEC.BAT
  102.      file, to fight blackouts.
  103.  
  104.      Example:
  105.      place the following two lines at the end of AUTOEXEC.BAT
  106.  
  107.      CD \DXHUNTER
  108.  
  109.      TIMER /T08:40 /M560 /T-A18:00 /M880
  110.  
  111.      If  you  switch  your  PC off and on, at any time, or  if  a  blackout
  112.      occurs, DXHUNT will be automatically restarted with in built automatic
  113.      connection  to DX CLUSTER, and the alert will be enabled 08:40 am  and
  114.      06:00 pm, otherwise disabled...your presence is not needed.
  115.  
  116.      *Note:  when  DXHUNT  is started by TIMER, the TNC  serial  buffer  is
  117.      flushed  and any pending data destroyed; in addition the Night Mode is
  118.      automatically  activated  (screen  is blanked  automatically  after  a
  119.      certain  inactivity period) and the NOHERE status is automatically set
  120.      (the  automatic talk reply function is performed, if enabled). You can
  121.      toggle the Night mode on and off and your status to HERE /NOHERE, from
  122.      DXHUNT at run time, with Alt-N and Alt-Z.
  123.  
  124.  
  125.       TIMER.TXT page 2 
  126.  
  127.      *Note:  TIMER starts DXHUNT in MONITOR MODE (no automatic  connection)
  128.      when the monitor disk is detected.
  129.  
  130.      *Note:  to  fight blackouts, with the monitor disk inserted, you  must
  131.      transform  your monitor disk into a system disk, by using the  command
  132.      FORMAT A: /U /S.
  133.      Then  move your AUTOEXEC.BAT and CONFIG.SYS on the monitor disk and as
  134.      last lines of AUTOEXEC.BAT use:
  135.      C:
  136.  
  137.      CD \DXHUNTER
  138.  
  139.      TIMER...and so on
  140.  
  141.      Finally  note that timer can be combined in batch files with the  WAIT
  142.      program. For details see TCP&TIPS.TXT.
  143.  
  144.      THE DXHUNTER: THE SOFT WAY OF HUNTING!!!.
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.       TIMER.TXT page 3 
  189.  
  190.